/**
 * 
 */
package com.ideeli.webextractor.service;

import java.util.List;
import java.util.Map;

/**
 * @author sa
 *
 */
public interface CacheService
{
	public int getCategoryId(String name);
	public void addCacheCatId(String name,int id);
	
	public int getManufacturerFrmCache(String name);
	public void addManufacturerCache(String name,int id);
	
	public Map<String,Integer>  getAllSkuVpns(int supplierid);
	public Map<String,Integer>  getParsedSkuVpns(int supplierid);
	
	public void addSupplierNameId(String name,int id);
	public int getSupplierId(String name);
	
	public String getExtension(String vendor);
	
	public Map<String, String> getUpdateProdPriceList();
	public void addUpdateProdPriceList(String productId, String newNOldPrice);

	public List<String> getErrorList();
	public void addErrorToList(String errorText);

	public String getAppProperty(String name) throws Exception;
	public void setAppProperty(String name,String value) throws Exception;
	
	public String getActualImagePath();
	
	public String getIngHwzCatMapping(String ingCategory);
	
	public Map<String, Integer> getCategoryUpperLimit();
	
	public String getEbCategoryCode(String ingCategory); 
	
	public String getProdIDebCatCode(Integer prodId);
	public void putProdIDebCatCode(Integer prodId,String ebCatCode );
	public int getFrontPageNo();
	public void UpdateBackPageNo(int currentPageNo);
	public int getBackPageNo();
	public void updateFrontPgNo(int currentPageNo);

	public String getConfigMapValue(String key);
	public void addConfigMap(String key, String val);
}
